<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <title>{{ title }}</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body class="bg-gray-100 flex items-center justify-center h-screen">

  <div class="bg-white shadow-lg rounded-2xl p-8 max-w-md text-center">
    {% if status == 'success' %}
      <div class="text-green-500 text-5xl mb-3">✔</div>
    {% else %}
      <div class="text-red-500 text-5xl mb-3">✖</div>
    {% endif %}

    <h2 class="text-xl font-semibold mb-3 text-gray-800">{{ title }}</h2>
    <p class="text-gray-600 mb-6">{{ message }}</p>

    <button onclick="window.location.href='{{ redirect_url }}'"
            class="bg-blue-600 text-white px-6 py-2 rounded hover:bg-blue-700 transition">
      确定
    </button>
  </div>

</body>
</html>
